<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>编辑</title>
		<link rel="stylesheet" type="text/css" href="../../plugins/layui/css/layui.css" />
		<link href="../../kitAdmin/css/app.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" href="../../plugins/select2/dist/css/select2.min.css"/>
	</head>

	<body>
		<div class='kit-table'>
			<div style='margin:10px'>
				
		<form class='layui-form' action='' lay-filter='form-edit'>
			<input type='hidden' name='id'  data-link='{:id}' />
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>purchase_date</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:purchaseDate}' id='_purchaseDate' name='purchaseDate' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>trylisten_date</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:trylistenDate}' id='_trylistenDate' name='trylistenDate' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>student_id</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:studentId}' id='_studentId' name='studentId' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>zoom_id</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:zoomId}' id='_zoomId' name='zoomId' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>age</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:age}' id='_age' name='age' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>skype_id</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:skypeId}' id='_skypeId' name='skypeId' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>teacher_id</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:teacherId}' id='_teacherId' name='teacherId' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>course</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:course}' id='_course' name='course' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>trylisten_type</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:trylistenType}' id='_trylistenType' name='trylistenType' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>now_state</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:nowState}' id='_nowState' name='nowState' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>record_video</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:recordVideo}' id='_recordVideo' name='recordVideo' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>follow_up</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:followUp}' id='_followUp' name='followUp' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>fuzeren_id</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:fuzerenId}' id='_fuzerenId' name='fuzerenId' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>recommand</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:recommand}' id='_recommand' name='recommand' class='layui-input'>
					</div>
				</div>
			</div>
			<div class='layui-form-item'>
				<div class='layui-inline'>
					<label class='layui-form-label'>remark</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:remark}' id='_remark' name='remark' class='layui-input'>
					</div>
				</div>
				<div class='layui-inline'>
					<label class='layui-form-label'>isdeleted</label>
					<div class='layui-input-inline'>
						<input type='text' placeholder=''data-link='{:isdeleted}' id='_isdeleted' name='isdeleted' class='layui-input'>
					</div>
				</div>
			</div>
		</form>
			</div>
		</div>
		<script src="../../common/js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../static/js/base.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../plugins/jsviews/jsviews.js" type="text/javascript"></script>
		<script src="../../plugins/select2/dist/js/select2.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var uid = getQueryVariable('id');
			jQuery(document).ready(function() {
				bindFormData();
			});
			var callback_save=function(){
				return $('.layui-form').serialize();
			}
			function bindFormData(){
				if(uid){
					$.ajax({
						url:baseUrl+'/trylistenmanages/'+uid,
						type:'get',
						success:function(data){
							$.link(true, ".kit-table", data.data);
							$('select').select2().change();
						},
						error:function(){
							parent.layer.alert('系统或网络错误！');
						}
					});
				}
			}
		</script>
	</body>

</html>
